<?php
class Core_Frontend_Component_Index_Controller_Index extends Dcmp_Component_Controller {

    public function indexAction(){
        $pageTemplate = App::getModel('design/page_template')->load('0c94ecd030fd2688276ec9b80b7a5cb9');
        $this->getVariables()->setData('page_template', $pageTemplate);
        $template = new Dcmp_Template($this->getDomain());
        $result = $template->render(DP_DESIGN.
                    strtolower($pageTemplate->getArea()->getNamespace()).DS.
                    $pageTemplate->getWebsiteTheme()->getName().DS.
                    'template'.DS.
                    $pageTemplate->getPageTheme()->getType().DS.
                    $pageTemplate->getPageTheme()->getName().DS.
                    str_replace('_', DS, $pageTemplate->getFileName()).'.phtml');
        return $this->contentResult($result);
    }
}

